<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'TechnicalException.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=basePath %>common/css/common.css">
  </head>
   <body>
    <div id="main_container">
        <div id="container_border">
            <div class="error_icon_2">
            	<h2>系统发生验证系统</h2>
                <div class="error_page">
                    <ul>
                        <li class="error_message"><s:property value="exception.message"/></li>
                        <li style="cursor: pointer;"><input type="button" style="cursor: default;" value="详情" onClick="showMsg(this);"/></li>
                        <li id="msg" style="display: none;"><pre><s:property value="exceptionStack"/></pre></li>
                    </ul>
				</div>                    
            </div>
        </div>
    </div>            
  </body>
  <script>
  	function showMsg(node){
  		node.style.display = 'none';
  		document.getElementById('msg').style.display = '';
  	}
  </script>
</html>
